package com.jkoss.wine.weekly.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 月报
 * 
 * @Author Jason
 * @Version 1.0, 2018-12-05
 * @See
 * @Since com.jkoss.wine.weekly.entity
 * @Description: TODO
 */
public class Monthly extends Model<Monthly> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 部门id
	 */
	@TableField("dmid")
	private String dmid;
	/**
	 * 制表人
	 */
	@TableField("meid")
	private String meid;
	/**
	 * 职位id
	 */
	@TableField("rid")
	private String rid;
	/**
	 * 制表时间
	 */
	@Excel(name = "制表时间", orderNum = "3", format = "yyyy-MM-dd", width = 30)
	@TableField("tltm")
	private Date tltm;
	/**
	 * 完成月份
	 */
	@Excel(name = "完成月份", orderNum = "4", format = "yyyy-MM", width = 30)
	@TableField("smmn")
	private Date smmn;
	/**
	 * 完成内容
	 */
	@Excel(name = "完成内容", orderNum = "5", width = 30)
	@TableField("smct")
	private String smct;
	/**
	 * 完成情况
	 */
	@Excel(name = "完成情况", orderNum = "6", width = 30)
	@TableField("smcp")
	private String smcp;
	/**
	 * 本月工作失误、难点
	 */
	@Excel(name = "本月工作失误、难点", orderNum = "7", width = 30)
	@TableField("mstk")
	private String mstk;
	/**
	 * 计划月份
	 */
	@Excel(name = "计划月份", orderNum = "8", format = "yyyy-MM", width = 30)
	@TableField("pamn")
	private Date pamn;
	/**
	 * 计划内容
	 */
	@Excel(name = "计划内容", orderNum = "9", width = 30)
	@TableField("pact")
	private String pact;
	/**
	 * 计划情况
	 */
	@Excel(name = "计划情况", orderNum = "10", width = 30)
	@TableField("pacp")
	private String pacp;
	/**
	 * 工作重点和目标
	 */
	@Excel(name = "工作重点和目标", orderNum = "11", width = 30)
	@TableField("target")
	private String target;
	/**
	 * 需要协调的问题
	 */
	@Excel(name = "需要协调的问题", orderNum = "12", width = 30)
	@TableField("coor")
	private String coor;
	/**
	 * 当操作人为null时，表示自动录入
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 是否删除：0-未删除、1-已删除、2-不能删除
	 */
	@TableField("del")
	private Integer del;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDmid() {
		return dmid;
	}

	public void setDmid(String dmid) {
		this.dmid = dmid;
	}

	public String getMeid() {
		return meid;
	}

	public void setMeid(String meid) {
		this.meid = meid;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public Date getTltm() {
		return tltm;
	}

	public void setTltm(Date tltm) {
		this.tltm = tltm;
	}

	public Date getSmmn() {
		return smmn;
	}

	public void setSmmn(Date smmn) {
		this.smmn = smmn;
	}

	public String getSmct() {
		return smct;
	}

	public void setSmct(String smct) {
		this.smct = smct;
	}

	public String getSmcp() {
		return smcp;
	}

	public void setSmcp(String smcp) {
		this.smcp = smcp;
	}

	public String getMstk() {
		return mstk;
	}

	public void setMstk(String mstk) {
		this.mstk = mstk;
	}

	public Date getPamn() {
		return pamn;
	}

	public void setPamn(Date pamn) {
		this.pamn = pamn;
	}

	public String getPact() {
		return pact;
	}

	public void setPact(String pact) {
		this.pact = pact;
	}

	public String getPacp() {
		return pacp;
	}

	public void setPacp(String pacp) {
		this.pacp = pacp;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getCoor() {
		return coor;
	}

	public void setCoor(String coor) {
		this.coor = coor;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Monthly{" + ", id=" + id + ", dmid=" + dmid + ", meid=" + meid + ", rid=" + rid + ", tltm=" + tltm + ", smmn=" + smmn + ", smct=" + smct + ", smcp=" + smcp + ", mstk=" + mstk + ", pamn=" + pamn + ", pact=" + pact + ", pacp=" + pacp + ", target=" + target + ", coor=" + coor + ", operator=" + operator + ", addTime=" + addTime + ", del=" + del + "}";
	}
}
